package com.zch.house.entity;

import java.sql.Date;

/**
 * 公寓活动实体类
 * @author Administrator
 *
 */
public class FlatPlay {
	/**
	 * 唯一标识
	 */
	private int id;
	/**
	 * 活动开始时间
	 */
	private Date startDate;
	/**
	 * 活动结束时间
	 */
	private Date endDate;
	/**
	 * 活动主题
	 */
	private String topic;
	/**
	 * 活动内容介绍
	 */
	private String content;
	/**
	 * 活动地点
	 */
	private String place;
	/**
	 * 费用
	 */
	private double money;
	/**
	 * 活动组织方
	 */
	private String organizer;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getTopic() {
		return topic;
	}
	public void setTopic(String topic) {
		this.topic = topic;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPlace() {
		return place;
	}
	public void setPlace(String place) {
		this.place = place;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getOrganizer() {
		return organizer;
	}
	public void setOrganizer(String organizer) {
		this.organizer = organizer;
	}
	public FlatPlay(int id, Date startDate, Date endDate, String topic, String content, String place, double money,
			String organizer) {
		super();
		this.id = id;
		this.startDate = startDate;
		this.endDate = endDate;
		this.topic = topic;
		this.content = content;
		this.place = place;
		this.money = money;
		this.organizer = organizer;
	}
	
	public FlatPlay(Date startDate, Date endDate, String topic, String content, String place, double money,
			String organizer) {
		super();
		this.startDate = startDate;
		this.endDate = endDate;
		this.topic = topic;
		this.content = content;
		this.place = place;
		this.money = money;
		this.organizer = organizer;
	}
	@Override
	public String toString() {
		return "FlatPlay [id=" + id + ", startDate=" + startDate + ", endDate=" + endDate + ", topic=" + topic
				+ ", content=" + content + ", place=" + place + ", money=" + money + ", organizer=" + organizer + "]";
	}
	public FlatPlay() {
		super();
	}
}
